package com.emergency.db.service.work;

import com.emergency.base.domain.Order;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Long save(Order order);

    void saveAll(List<Order> orderList);

    Order findById(Long id);

    List<Order> findAll();

    Long delete(Long id);

    Page<Order> findList(Map searchMap, int page, int size);
}
